//
//  BPAddressTableViewCell.m
//  BabyPhotograph
//
//  Created by cesh on 2017/2/17.
//  Copyright © 2017年 cesh. All rights reserved.
//

#import "BPAddressTableViewCell.h"
//#import "BPAddAddressViewController.h"

@interface BPAddressTableViewCell() 

@end

@implementation BPAddressTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
}

- (IBAction)editBtn:(UIButton *)sender {
    if ([self.delegate respondsToSelector:@selector(pushEditAddressController:)]) {
        [self.delegate pushEditAddressController:self.index];
    }
    
}

- (IBAction)deleteBtn:(UIButton *)sender {
    if ([self.delegate respondsToSelector:@selector(deleteAddressCell:)]) {
        [self.delegate deleteAddressCell:self.index];
    }
}


@end
